<div id="divMain" style="background-color:#CCCCCC">
  <table cellpadding="0" cellspacing="0" border="0" id="dataTable">
    <thead>
      <tr>
        <th width="80px">STT</th>
        <th width="150px">Tên</th>
        <th width="150px">Email</th>
        <th width="150px">Số điện thoại</th>
        <th>Nội dung</th>
        <th width="100px"></th>
      </tr>
    </thead>
    <tbody>
      <?php foreach($result as $rows){ ?>
      <tr>
        <td><?=$rows->id?></td>
        <td><?=$rows->ten?></td>
        <td><?=$rows->email?></td>
        <td><?=$rows->phone?></td>
        <td><?=$rows->noidung?></td>
        <td><a href="<?=base_url('untitled/lienhe/xoa.html?id='.$rows->id)?>">Xóa</a></td>
      </tr>
      <?php } ?>
    </tbody>
  </table>
</div>